<?php
class EWebby_UI_Widgets_ListWidgetItemEventArgs extends EWebby_UI_Widgets_ListWidgetEventArgs {
	public $startNewGroup = false;
	
	private $_group;
	private $_groupIndex;
	
	public function __construct($group, $item, $data, $itemIndex, $groupIndex) {
		parent::__construct($item, $data, $itemIndex);
		
		$this->_group = $group;
		$this->_groupIndex = $groupIndex;
	}


	public function getGroup() {
		return $this->_group;
	}
	public function getGroupIndex() {
		return $this->_groupIndex;
	}
}